package com.jimikongjian.models;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

/**
 * Created by fuxiuyang on 17-5-13.
 */
@Scope("prototype")
@Repository("articleRoom")
public class ArticleRoom {

    /**
     * id号，自增长
     */
    private int id;

    /**
     * 文章的id号，
     */
    private int articleId;

    /**
     * 文章所属空间的id号
     */
    private int roomId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }
}
